Journal article
Guidelines for empirical studies in software engineering involving large language models
S Baltes, F Angermeir, C Arora, M Muñoz Barón, C Chen, L Böhme, F Calefato, N Ernst, D Falessi, B Fitzgerald, D Fucci, J He, C Treude, M Kalinowski, S Lambiase, D Russo, M Lungu, C Martinez Montes, L Prechelt, P Ralph Show all
Empirical Software Engineering | Springer Science and Business Media LLC | Published : 2027
Abstract
Large Language Models (LLMs) are widely used in software engineering (SE) research and practice, yet their non-determinism, opaque training data, and rapidly evolving models threaten the reproducibility and replicability of empirical studies. We address this challenge through a collaborative effort of 22 researchers, presenting a taxonomy of seven study types that organizes how LLMs are used in SE research, together with eight guidelines for designing and reporting such studies. Each guideline distinguishes requirements (must) from recommendations (should) and is contextualized by the study types it applies to. Our guidelines recommend that researchers: (1) declare LLM usage and role; (2) re..
View full abstract